﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace consoleTesting
{
    public class Order
    {
        public DateTime OpenDate { get; set; }
        //public Decimal GapWidth { get; set; }
        public double OrderOpenPrice { get; set; }
        public double ClosePrice { get; set; }
        public double PullbackPoints { get; set; }
        public Direction Direction { get; set; }


        public DateTime CloseDate { get; set; }
        public double DurationBeforeCloseInDays { get; set; }
        public int CandleNumber { get; set; }//number of candle for loop, only for calculating

        public DayOfWeek DayClosed { get; set; }

        public double OrderTakeProfit { get; set; }
        public double OrderStopLoss { get; set; }

        public Symbol OrderSymbol { get; set; }
        public int OrderMagicNumber { get; set; }
        public double OrderProfit { get; set; }
        public OrderType OrderType { get; set; }
        public int OrderTicket { get; set; }//Возвращает номер тикета для текущего выбранного ордера
        public double LotSize { get; set; }

        public Order()
        {
            OrderSymbol = Symbol.EUR;
        }
    }
}
